package day1101_4;
import java.util.Scanner;

public class F4 {
    public static void main(String[] args) {
        Scanner s=new Scanner(System.in);

        System.out.println("请输入a的值：");
        int a=s.nextInt();

        System.out.println("请输入b的值：");
        int b=s.nextInt();

        System.out.println("请输入c的值：");
        int c=s.nextInt();

        if(a>b){
            if(a>c){
                System.out.println("最大值："+a);
            }else{//c>=a>b
                System.out.println("最大值："+c);
            }
        }else{//a<=b
            if(b>c){
                System.out.println("最大值："+b);
            }else{//a<=b <=c,
                System.out.println("最大值："+c);
            }
        }

    }
}//  1  2   3      //  3  2  1      //1 3 2


